home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / AppsToGo / AppsToGo.src / AppsToGo.Changes / AppWannabe / WindowDialog.c.df < prev   
Encoding:
Text File  |  1993-06-18  |  2.2 KB  |  53 lines  |  [TEXT/MPS ]

  1. File #1: b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:AppWannabe:WindowDialog.c
  2. File #2: a:Desktop Folder:AppsToGo.src:AppWannabe:WindowDialog.c
  3.  
  4. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:AppWannabe:WindowDialog.c"; Line 7; File "a:Desktop Folder:AppsToGo.src:AppWannabe:WindowDialog.c"; Line 7)
  5. ** Copyright © 1990-1992 Apple Computer, Inc.
  6.  
  7. ** Copyright © 1990-1993 Apple Computer, Inc.
  8.  
  9.  
  10. Extra lines in 2nd before 11 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:AppWannabe:WindowDialog.c"; Line Δ11; File "a:Desktop Folder:AppsToGo.src:AppWannabe:WindowDialog.c"; Line 11:18)
  11. /* You may incorporate this sample code into your applications without
  12. ** restriction, though the sample code has been provided "AS IS" and the
  13. ** responsibility for its operation is 100% yours.  However, what you are
  14. ** not permitted to do is to redistribute the source as "DSC Sample Code"
  15. ** after having made changes. If you're going to re-distribute the source,
  16. ** we require that you make it clear in the source that the code was
  17. ** descended from Apple Sample Code, but that you've made changes. */
  18.  
  19.  
  20.  
  21. Extra lines in 2nd before 39 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:AppWannabe:WindowDialog.c"; Line Δ39; File "a:Desktop Folder:AppsToGo.src:AppWannabe:WindowDialog.c"; Line 47:50)
  22. extern short        gDialogErr;                /* Error numbers to be displayed in   */
  23.                                             /* a dialog window of type 'ERR#' are */
  24.                                             /* passed in this way.                  */
  25.  
  26.  
  27.  
  28. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:AppWannabe:WindowDialog.c"; Line 215:217; File "a:Desktop Folder:AppsToGo.src:AppWannabe:WindowDialog.c"; Line 227:243)
  29.     OSErr    err;
  30.  
  31.     err = AddControlSet(window, (*frHndl)->fileState.sfType, kwStandardVis, 0, 0, nil);
  32.  
  33.     OSErr            err;
  34.     OSType            sftype;
  35.     ControlHandle    ctl;
  36.     Str255            pstr;
  37.  
  38.     sftype = (*frHndl)->fileState.sfType;
  39.     err = AddControlSet(window, sftype, kwStandardVis, 0, 0, nil);
  40.     if (sftype == 'ERR#') {
  41.         CNum2Ctl(window, 100, &ctl);
  42.         if (ctl) {
  43.             CTEGetPStr(ctl, pstr);
  44.             pcatdec(pstr, gDialogErr);
  45.             gDialogErr = noErr;
  46.             CTESetPStr(ctl, pstr);
  47.         }
  48.     }
  49.  
  50.  
  51.  
  52. *** EOF on both files at the same time ***
  53.